package com.toonly.defaultvalues.framework;

public class GeneratedValue implements IGeneratedValue {

    private boolean suc;
    private Object value;

    public GeneratedValue(boolean suc, Object value) {
        this.suc = suc;
        this.value = value;
    }

    @Override
    public boolean suc() {
        return this.suc;
    }

    @Override
    public Object val() {
        return this.value;
    }

    @Override
    public String toString() {
        return "GeneratedValue{" +
                "suc=" + suc +
                ", value=" + value +
                '}';
    }
}
